<?php


namespace app\common\model;


use think\Model;

class UserBank extends Model
{
    protected $autoWriteTimestamp = true;
    protected $type = [
        'create_time'    =>  'integer',
    ];
    public function user(){
        return $this->belongsTo('User');
    }
    public function bank(){
        return $this->belongsTo('Bank');
    }
}